package com.itheima.service;

import com.itheima.domain.KnowledgeUser;
import com.itheima.domain.PageResult;


public interface KnowledgeService {

     //评估建议相关************************************************************
     //分页查询服务接口
     PageResult pageQueryAdvice(Integer currentPage, Integer pageSize, String queryString);

    KnowledgeUser findByIdAdvice(Integer LoreID);//根据id查

     void addAdvice(KnowledgeUser knowledgeUser);//增

     void updateAdvice(KnowledgeUser knowledgeUser);//改

     void deleteAdvice(Integer id);//删

     //************************************************************

     //运动项目库相关+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     //分页查询服务接口
     PageResult pageQuerySport(Integer currentPage, Integer pageSize, String queryString);

     KnowledgeUser findByIdSport(Integer Number);//根据id查

     void addSport(KnowledgeUser knowledgeUser);//增

     void updateSport(KnowledgeUser knowledgeUser);//改

     void deleteSport(Integer id);//删
     //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

     //膳食库相关--------------------------------------------------
     //分页查询服务接口
     PageResult pageQuery(Integer currentPage, Integer pageSize, String queryString);

     KnowledgeUser findById(Integer FoodID);//根据id查

     void add(KnowledgeUser knowledgeUser);//增

     void update(KnowledgeUser knowledgeUser);//改

     void delete(Integer id);//删
     //-------------------------------------------------------


     //项目库相关--------------------------------------------------
     //分页查询服务接口
    PageResult pageQueryItem(Integer currentPage, Integer pageSize, String queryString);

    KnowledgeUser findByIdItem(Integer ItemID);//根据id查

    void addItem(KnowledgeUser knowledgeUser);//增

    void updateItem(KnowledgeUser knowledgeUser);//改

    void deleteItem(Integer ItemID);//删


 //------------------------------------------------------
}
